package com.gitee.dupe.authority.dao;

import com.gitee.dolt.boot.mapper.SuperMapper;
import com.gitee.dupe.authority.entity.User;
import com.gitee.dupe.authority.entity.UserThirdId;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author LYH
 * @since 2020-08-27
 */
@Repository
public interface UserThirdIdMapper extends SuperMapper<UserThirdId> {

    /**
     * 获取用户
     *
     * @param appType app类型
     * @param appId   appId
     * @param thirdId 第三方id
     * @return
     */
    User getUserByAppTypeAndAppIdAndThirdId(String appType, String appId, String thirdId);
}
